// license-header java merge-point
/**
 * This is only generated once! It will never be overwritten.
 * You can (and have to!) safely modify it by hand.
 */
package com.jrsystems.fleet.log;
/**
 * @see com.jrsystems.fleet.log.VehicleLog
 */
public class VehicleLogDaoImpl
    extends com.jrsystems.fleet.log.VehicleLogDaoBase
{
    /**
     * @see com.jrsystems.fleet.log.VehicleLogDao#toVehicleLogVO(com.jrsystems.fleet.log.VehicleLog, com.jrsystems.fleet.log.vo.VehicleLogVO)
     */
    public void toVehicleLogVO(
        com.jrsystems.fleet.log.VehicleLog source,
        com.jrsystems.fleet.log.vo.VehicleLogVO target)
    {
        // @todo verify behavior of toVehicleLogVO
        super.toVehicleLogVO(source, target);
        // WARNING! No conversion for target.vehicle (can't convert source.getVehicle():com.jrsystems.fleet.vehicle.Vehicle to com.jrsystems.fleet.vehicle.vo.VehicleVO
    }


    /**
     * @see com.jrsystems.fleet.log.VehicleLogDao#toVehicleLogVO(com.jrsystems.fleet.log.VehicleLog)
     */
    public com.jrsystems.fleet.log.vo.VehicleLogVO toVehicleLogVO(final com.jrsystems.fleet.log.VehicleLog entity)
    {
        // @todo verify behavior of toVehicleLogVO
        return super.toVehicleLogVO(entity);
    }


    /**
     * Retrieves the entity object that is associated with the specified value object
     * from the object store. If no such entity object exists in the object store,
     * a new, blank entity is created
     */
    private com.jrsystems.fleet.log.VehicleLog loadVehicleLogFromVehicleLogVO(com.jrsystems.fleet.log.vo.VehicleLogVO vehicleLogVO)
    {
        // @todo implement loadVehicleLogFromVehicleLogVO
        throw new java.lang.UnsupportedOperationException("com.jrsystems.fleet.log.loadVehicleLogFromVehicleLogVO(com.jrsystems.fleet.log.vo.VehicleLogVO) not yet implemented.");

        /* A typical implementation looks like this:
        com.jrsystems.fleet.log.VehicleLog vehicleLog = this.load(vehicleLogVO.getId());
        if (vehicleLog == null)
        {
            vehicleLog = com.jrsystems.fleet.log.VehicleLog.Factory.newInstance();
        }
        return vehicleLog;
        */
    }

    
    /**
     * @see com.jrsystems.fleet.log.VehicleLogDao#vehicleLogVOToEntity(com.jrsystems.fleet.log.vo.VehicleLogVO)
     */
    public com.jrsystems.fleet.log.VehicleLog vehicleLogVOToEntity(com.jrsystems.fleet.log.vo.VehicleLogVO vehicleLogVO)
    {
        // @todo verify behavior of vehicleLogVOToEntity
        com.jrsystems.fleet.log.VehicleLog entity = this.loadVehicleLogFromVehicleLogVO(vehicleLogVO);
        this.vehicleLogVOToEntity(vehicleLogVO, entity, true);
        return entity;
    }


    /**
     * @see com.jrsystems.fleet.log.VehicleLogDao#vehicleLogVOToEntity(com.jrsystems.fleet.log.vo.VehicleLogVO, com.jrsystems.fleet.log.VehicleLog)
     */
    public void vehicleLogVOToEntity(
        com.jrsystems.fleet.log.vo.VehicleLogVO source,
        com.jrsystems.fleet.log.VehicleLog target,
        boolean copyIfNull)
    {
        // @todo verify behavior of vehicleLogVOToEntity
        super.vehicleLogVOToEntity(source, target, copyIfNull);
    }

}